#!/bin/bash

#每次修改IP地址太麻烦，使用域名替代。请自行在dnsmasq中添加域名/IP的解析
#仅中间件和部分使用域名，请仔细查看内容并确认，以下只是格式示范
address=/mariadb.rscommon.svc.rs.local/172.25.0.1
address=/nacos.rscommon.svc.rs.local/172.25.0.1
address=/redis.rscommon.svc.rs.local/172.25.0.1
address=/minio.rscommon.svc.rs.local/172.25.0.1
address=/nginx.rscommon.svc.rs.local/172.25.0.1
address=/elasticsearch.rscommon.svc.rs.local/172.25.0.1
address=/singlekafka-0.singlekafka-headless.rscommon.svc.rs.local/172.25.0.1
address=/access.rscommon.svc.rs.local/172.25.0.1
address=/controller.rs.local/172.25.0.1
address=/devops.rs.local/172.25.0.1

# 盒子项目，非盒子项目可忽略
BOX_PY_URL=http://172.16.166.1:9090
IS_CLOUD=false
IMAGE_BACKUP=false
#请指向较大存储空间的目录
CLOUDSERVER_ZIPSERVERPATH=/qcow2/base
TEMPLATE_DIR=/home/instance/template

#使用OPENSTACK云需要修改本节，如果是H3C云请跳过
OS_HOST=http://rh18-0-25-172.rs.local
OS_USERNAME=nsrep-usr
OS_PASSWORD=nsrep-pwd
OS_PROJECT=nsrep-prj

#nsrep-remote组件访问云平台nova服务的SSH登录信息
NOVA_COMPUTE_USERNAME=root
NOVA_COMPUTE_PASSWORD='Passw0rd'
DB_NOVA_PASSWORD=nsrep-pwd
DB_NOVA_URL=rh18-0-25-172.rs.local
DB_NOVA_USERNAME=nsrep-usr

#应用数据库地址
DB_APP_URL=mariadb.rscommon.svc.rs.local:3306
DB_APP_USERNAME=root
DB_APP_PASSWORD=mySECURITY_PASS119

#配置中心地址 nacos
NACOS_CONFIG_SERVER=nacos.rscommon.svc.rs.local:8848
NACOS_DISCOVERY_SERVER=nacos.rscommon.svc.rs.local:8848
PREFERRED_NETWORKS=10.

REDIS_HOST=redis.rscommon.svc.rs.local
REDIS_PORT=6379
REDIS_PASSWORD=mySECURITY_PASS119
#kafka集群地址
SAFETY_TOOL_KAFKA_SERVERS=singlekafka-0.singlekafka-headless.rscommon.svc.rs.local:9092
KAFKA_SERVERS=singlekafka-0.singlekafka-headless.rscommon.svc.rs.local:9092
#KAFKA_SERVERS=172.18.0.46:9092,172.18.0.45:9092,172.18.0.48:9092
#minio文件服务器地址
MINIO_ENDPOINT=http://minio.rscommon.svc.rs.local:9000/
MINIO_ACCESS=minioAdmin
MINIO_SECRET=mySECURITY_PASS119
MINIO_BUCKET=test
MINIO_DOWNLOADPATH=/minio/download/
PUSHER_NGINX_RTMP_IP=nginx.rscommon.svc.rs.local
PUSHER_NGINX_RTMP_PORT=1935
DEFENSE_ADDRESS=/
NGINX_IP=172.25.30.16
NSREP_GATEWAY_IP=172.25.0.20
#nsrep-testplatform
DEPENDENCY_TRACK_API_KEY=GqcBxw4CIXOGNDAyZzzNSz1FKt8XM9OD
DEPENDENCY_TRACK_API_URL=http://172.25.1.42:8000
CAN_URL=https://172.172.10.43:8000
CAN_USERNAME=cs-ceshi-20
CAN_PASSWORD=111111

#nsrep-trial组件的变量,如果没有安装该组件可忽略
TRIAL_AM_API_URL=https://10.201.1.134
TRIAL_HK_API_URL=https://10.201.1.116:50443
TRIAL_A_HOST=10.1.16.208 
TRIAL_A_PORT=18111 
TRIAL_B_HOST=10.1.16.211 
TRIAL_B_PORT=8081
TRIAL_REDIS_IP=172.18.100.1
TRIAL_REDIS_PASSWORD=mySECURITY_PASS119
MBWL_API_URL=http://10.1.16.202:18769
TSPG_API_URL=http://10.1.7.65/public_api
WRJ_API_URL=http://10.1.5.58:3000/uav
BDZ_API_URL=http://10.10.6.147:8001/pengcheng
QCYC_API_URL=http://10.10.5.36:10001/vehicle
DSJ_API_URL=http://10.1.5.144:20200/exptmgt
ZXCP_API_URL=http://10.1.13.19/api_test
WLXWFZ_API_URL=http://10.1.5.224:5002/api/v1/experimentMag

#nsrep-access组件调用guacd，PATH后面的目录必须包含/，否则程序拼接会有问题
GUACD_HOST=access.rscommon.svc.rs.local
GUACD_PORT=4822
GUACD_RECORDING_PATH=/var/sto/access/recording/
GUACD_TRANSCODING_PATH=/var/sto/access/transcoding/
GUACD_DRIVE_PATH=/var/sto/access/drive/
SFTP_HOST=access.rscommon.svc.rs.local
SFTP_PORT=22
SFTP_USERNAME=root
SFTP_PASSWORD=Passw0rd@123

# netns组件,必须使用IP地址，域名会出错
CLOUD_PLATFORM=os
NETNS_HOST_IP=172.25.0.20
NETNS_HOST_USERNAME=root
NETNS_HOST_PASSWORD=Passw0rd@123
NETNS_FORWARD_OUT_VLAN=25
NETNS_FORWARD_OUT_GATEWAY=172.25.0.1
NETNS_FORWARD_OUT=172.25.40.9/16
NETNS_DEFAULT_ACCESS_VLAN=999

# nsrep-aliyun
ALIYUN_ACCESS_KEY_ID=LTAI5t5xdtyN9gHcQkfpgG4r
ALIYUN_ACCESS_SECRET=secret_here

# nsrep-data组件
DATA_CDH_ENABLED=false
DATA_CDH_LEAF_ENABLED=false
#hbase 连接的zookeeper集群
HBASE_ZOOKEEPER_QUORUM=172.25.1.62,172.25.1.63,172.25.1.64
HBASE_ZOOKEEPER_PORT=2181
OPENTSDB_HOST=172.25.1.64
OPENTSDB_PORT=4242
#ftp地址
FTP_HOST=access.rscommon.svc.rs.local
FTP_PORT=21
FTP_TOOLS_USERNAME=ftpuser-tool
FTP_TOOLS_PASSWORD=mySECURITY_PASS119
#ftp所在子网掩码
FTP_TOOLS_NETMASK=16
#ftp所在网络vlan号
FTP_TOOLS_VLAN=25
#ftp通道排除的ip范围
FTP_TOOLS_EXCLUDE_IP_RANGES=172.25.0.1-172.25.0.255,172.25.1.1-172.25.100.255
FTP_STUDY_USERNAME=ftpuser-learn
FTP_STUDY_PASSWORD=mySECURITY_PASS119

#es集群，默认即为 elasticsearch
#ELASTICSEARCH_SERVERS=192.168.0.1:9200,192.168.0.2:9200,192.168.0.3:9200
ELASTICSEARCH_SERVERS=elasticsearch.rscommon.svc.rs.local:9200
ES_CLUSTER_NAME=ht-es
ES_CLUSTER_NODES=elasticsearch.rscommon.svc.rs.local:9300
ELASTICSEARCH_USER=user1
ELASTICSEARCH_PASSWORD=mySECURITY_PASS119
SYSLOG_HOST=access.rscommon.svc.rs.local
SYSLOG_PORT=514

#office插件
ONLYOFFICE_SECRET=OyMs3cGeMn9s1m
ONLYOFFICE_HOST=/office
ONLYOFFICE_DOWNLOAD_HOST=http://172.25.0.20/api

#分布式靶场
#分靶场id，从总靶场分配的
RANGE_ID=47d1f9ca-a4bf-4833-a94d-d53059bfb008
#分靶场设计师用户id，需在分靶场创建单独单位和用户，测试用pcl3_designer的id
RANGE_USER_ID=cbb8c77fe4fd48fb8a7cc70264736840
#分布式靶场 nsrep-new-res组件使用，当启用分布式靶场时OPEN_FLAG=true,且RANGE_NAME和RANGE_HOST需要配置分,不启用分布式靶场，以下3个变量保持默认即可
OPEN_FLAG=true
TORRENT_FLAG=false
TORRENT_PORT=9091
RANGE_NAME=cs0p20
RANGE_HOST=172.25.1.21:18882
PARENT_RANGE_ENABLE=true
PARENT_RANGE_ADDRESS=172.25.1.21:18882
#如果环境中有ESXI，请配置VMWARE_OPEN=true,并配置VCENTER连接信息
VMWARE_OPEN=false
VMWARE_URL=https://192.168.3.234/sdk
VMWARE_USERNAME=administrator@vsphere.local
VMWARE_PASSWORD=‘Rs1@34!@#$_’
PROCESS_DEFAULT_TYPE=other,break_through，red_and_blue_confrontation
H3C_SERVICE_HOST=http://172.25.1.21:8080
H3C_LEFT_ID=R72128275322092504940582766018
H3C_LEFT_HOSTNAME=172.25.1.21
H3C_LEFT_PASSWORD=3edcCDE#12#$
H3C_RIGHT_ID=R17136094457830410913088334573
H3C_RIGHT_HOSTNAME=172.25.1.32
H3C_RIGHT_PASSWORD=3edcCDE#12#$

CLOUD_HOST=http://rh18-0-25-172.rs.local
#新华三接口端口(openstack服务端口已内置)
CLOUD_PORT=11000
#新华三帐号/密码形式：admin/cloudos,项目：root
CLOUD_USERNAME=nsrep-usr
CLOUD_PASSWORD=nsrep-pwd
CLOUD_PROJECT=nsrep-prj
CLOUD_GLANCE_HOST=http://10.1.8.71

#试验A的ip和端口
TASK_A_SYSTEM_HOST=10.1.5.47
TASK_A_SYSTEM_PORT=80
#nsrep-admin
SPRING_BOOT_ADMIN_USER=nsrep-admin
SPRING_BOOT_ADMIN_PASSWORD=mySECURITY_PASS119

#docker服务是否在管理网服务器上
DOCKER_ENABLE_MANAGEMENT_NETWORK=true
DOCKER_URL=tcp://127.0.0.1:2375
#docker的api版本
DOCKER_API_VERSION=1.26
#checker使用的基础镜像名称
DOCKER_BASE_IMAGE=registry.rs.local:8083/nsrep-check-runner:1.2.3
#docker容器开放的端口号
DOCKER_CHECK_RUNNER_EXPORT_PORT=18102
#容器挂载的配置文件全路径
DOCKER_APPLICATION_CONFIG_FILE_PATH=/data/app/nsrep-check-runner/application-openrs2.yml
#nginx服务器访问minio的路径前缀
STORAGE_PREFIX=/files/

#nsrep-data-open
GITLAB_URL=gitlab.dataopen.rs.com:8080
GITLAB_USER=root
GITLAB_PASSWORD=x96Niy3L3PyUq8W

#以下变量仅在使用H3C云时需要修改，如果是OPENSTACK云，可以忽略
RABBITMQ_HOST=10.1.8.70
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=openstack
RABBITMQ_PASSWORD=myRABBIT_PASS
#访问h3c云地址
H3C_HOST=http://10.1.8.70
H3C_PORT=11000
H3C_USERNAME=admin
H3C_PASSWORD=cloudos
#h3c工程
H3C_PROJECT=root
#nsrep-res h3c glance服务地址
H3C_GLANCE_HOST=http://10.1.8.71
#h3c网络类型
H3C_NETWORK_TYPE=vxlan
#h3cvlan-vxlan映射服务地址
H3C_VLAN_VXLAN_URL=http://172.16.0.60:10080
H3C_VLAN_VXLAN_DOMAIN_ID=ef6e44f6-dd62-4ca9-a75d-f941ddff2f17
H3C_VLAN_VXLAN_DOMAIN_NAME=netns1
#nsrep-topo大数据存储拓扑描述的地址
TGT_NET_TOPO_DESC_URL=http://10.1.4.238:20200/v2/tgtNet/topoDesc
CAS_PORT=8080
CAS_USERNAME=admin
CAS_PASSWORD=admin
#cas端口镜像源网桥
CAS_OVS_SOURCE=yewu-app
#cas端口镜像目的网桥
CAS_OVS_DEST=celiang-vswitch
# SDN控制器
SDN_HOST=10.1.8.101
SDN_PORT=10080
SDN_USERNAME=admin
SDN_PASSWORD=admin@123
CAS_OVS_DRAIN=ips
#如果没有以下信息，请保持默认内容以满足格式要求
#SDN虚机引流端与透明设备 nsrep-deploy
SDN_DRAIN_DOMAIN_ID=admin@123
SDN_REMOTE_CONN_DOMAIN_ID=admin@123
SDN_TRANSPARENT_DOMAIN_ID=admin@123
#异域互联本地端 nsrep-deploy
VXLAN_LOCAL_BRIDGE=br-tun
VXLAN_LOCAL_HOST=127.0.0.1
VXLAN_LOCAL_PASSWORD=password
VXLAN_LOCAL_PORT=22
VXLAN_LOCAL_USERNAME=root
VXLAN_LOCAL_VX_PORTS=vx01
#异域互联远程端 nsrep-deploy
VXLAN_REMOTE_BRIDGE=br-tun
VXLAN_REMOTE_HOST=127.0.0.1
VXLAN_REMOTE_PASSWORD=password
VXLAN_REMOTE_PORT=22
VXLAN_REMOTE_USERNAME=root
VXLAN_REMOTE_VX_PORTS=vx01

#马赫谷
MACHLAKE_URL=https://172.172.10.96
MACHLAKE_APP_KEY=2tWWwk34a6NpXtpzsiDa_EwBdfkApaz_
MACHLAKE_TOKEN=kAwwYxQXsYx4nCDj7Bp4mmtf7P68SJ3e
MACHLAKE_NETWORK_ID=GqFo_oAB2YNSEivzhzvw

#nsrep-tool-manage
TOOLS_MAGAZINE_URL=http://172.26.240.211:18769

#nsrep-flow-library
SERVICE_SSHIP=172.25.0.19
SERVICE_SSHUSER=root
SERVICE_SSHPWD=Passw0rd
NETNS_ID=c67f9b768f0d42da81ddf7e130089de2

#nsrep-testplatform
INDICATOR_URL=http://172.25.0.20:10443
# 集成数据所密码测试组件，测试结果上报接口端口映射服务通道配置id
PASSWORD_CONFIG_ID=db48cd8491384040ab6dcc72d9aa6b3b
POC_URL=http://172.25.0.16:61111

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#INDICATOR_URL#$INDICATOR_URL# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#PASSWORD_CONFIG_ID#$PASSWORD_CONFIG_ID# $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#SERVICE_SSHIP#$SERVICE_SSHIP# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#SERVICE_SSHUSER#$SERVICE_SSHUSER# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#SERVICE_SSHPWD#$SERVICE_SSHPWD# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#NETNS_ID#$NETNS_ID# $i ; done



for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#MACHLAKE_URL#$MACHLAKE_URL# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#MACHLAKE_APP_KEY#$MACHLAKE_APP_KEY# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#MACHLAKE_TOKEN#$MACHLAKE_TOKEN# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#MACHLAKE_NETWORK_ID#$MACHLAKE_NETWORK_ID# $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|BOX_PY_URL|$BOX_PY_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_TYPE|$CLOUD_TYPE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|IS_CLOUD|$IS_CLOUD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|IMAGE_BACKUP|$IMAGE_BACKUP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUDSERVER_ZIPSERVERPATH|$CLOUDSERVER_ZIPSERVERPATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_ENABLE_MANAGEMENT_NETWORK|$DOCKER_ENABLE_MANAGEMENT_NETWORK|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_URL|$DOCKER_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_API_VERSION|$DOCKER_API_VERSION|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_BASE_IMAGE|$DOCKER_BASE_IMAGE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_CHECK_RUNNER_EXPORT_PORT|$DOCKER_CHECK_RUNNER_EXPORT_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DOCKER_APPLICATION_CONFIG_FILE_PATH|$DOCKER_APPLICATION_CONFIG_FILE_PATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ELASTICSEARCH_SERVERS|$ELASTICSEARCH_SERVERS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ES_CLUSTER_NAME|$ES_CLUSTER_NAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ES_CLUSTER_NODES|$ES_CLUSTER_NODES|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ELASTICSEARCH_USER|$ELASTICSEARCH_USER|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ELASTICSEARCH_PASSWORD|$ELASTICSEARCH_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ELASTICSEARCH_HOST|$ELASTICSEARCH_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ELASTICSEARCH_PORT|$ELASTICSEARCH_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SYSLOG_PORT|$SYSLOG_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SYSLOG_HOST|$SYSLOG_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_HOST_AND_PORT|$DB_HOST_AND_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_USERNAME|$DB_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_PASSWORD|$DB_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FDFS_TRACKER_LIST|$FDFS_TRACKER_LIST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FDFS_GROUP|$FDFS_GROUP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NACOS_CONFIG_SERVER|$NACOS_CONFIG_SERVER|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NACOS_DISCOVERY_SERVER|$NACOS_DISCOVERY_SERVER|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_APP_URL|$DB_APP_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_APP_USERNAME|$DB_APP_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_APP_PASSWORD|$DB_APP_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_APP_HOST_USERNAME|$DB_APP_HOST_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_APP_HOST_PASSWORD|$DB_APP_HOST_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|REDIS_HOST|$REDIS_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|REDIS_PORT|$REDIS_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|REDIS_PASSWORD|$REDIS_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SAFETY_TOOL_KAFKA_SERVERS|$SAFETY_TOOL_KAFKA_SERVERS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|KAFKA_SERVERS|$KAFKA_SERVERS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FDFS_HOST|$FDFS_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OS_HOST|$OS_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OS_USERNAME|$OS_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OS_PASSWORD|$OS_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OS_PROJECT|$OS_PROJECT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GUACD_HOST|$GUACD_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GUACD_PORT|$GUACD_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GUACD_RECORDING_PATH|$GUACD_RECORDING_PATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GUACD_TRANSCODING_PATH|$GUACD_TRANSCODING_PATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GUACD_DRIVE_PATH|$GUACD_DRIVE_PATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SFTP_HOST|$SFTP_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SFTP_PORT|$SFTP_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SFTP_USERNAME|$SFTP_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SFTP_PASSWORD|$SFTP_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#DEFENSE_ADDRESS#$DEFENSE_ADDRESS# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i s#TEMPLATE_DIR#$TEMPLATE_DIR# $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VMWARE_OPEN|$VMWARE_OPEN|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VMWARE_URL|$VMWARE_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VMWARE_USERNAME|$VMWARE_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VMWARE_PASSWORD|$VMWARE_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|PROCESS_DEFAULT_TYPE|$PROCESS_DEFAULT_TYPE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_HOST|$CLOUD_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_PORT|$CLOUD_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_USERNAME|$CLOUD_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_PASSWORD|$CLOUD_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_PROJECT|$CLOUD_PROJECT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_GLANCE_HOST|$CLOUD_GLANCE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLOUD_PLATFORM|$CLOUD_PLATFORM|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_HOST_IP|$NETNS_HOST_IP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_HOST_USERNAME|$NETNS_HOST_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_HOST_PASSWORD|$NETNS_HOST_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_FORWARD_OUT_VLAN|$NETNS_FORWARD_OUT_VLAN|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_FORWARD_OUT_GATEWAY|$NETNS_FORWARD_OUT_GATEWAY|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_FORWARD_OUT|$NETNS_FORWARD_OUT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NETNS_DEFAULT_ACCESS_VLAN|$NETNS_DEFAULT_ACCESS_VLAN|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ALIYUN_ACCESS_KEY_ID|$ALIYUN_ACCESS_KEY_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ALIYUN_ACCESS_SECRET|$ALIYUN_ACCESS_SECRET|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|PARENT_RANGE_ENABLE|$PARENT_RANGE_ENABLE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|PARENT_RANGE_ADDRESS|$PARENT_RANGE_ADDRESS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|HBASE_ZOOKEEPER_QUORUM|$HBASE_ZOOKEEPER_QUORUM|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|HBASE_ZOOKEEPER_PORT|$HBASE_ZOOKEEPER_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OPENTSDB_HOST|$OPENTSDB_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OPENTSDB_PORT|$OPENTSDB_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_HOST|$FTP_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_PORT|$FTP_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_TOOLS_NETMASK|$FTP_TOOLS_NETMASK|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_TOOLS_VLAN|$FTP_TOOLS_VLAN|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_TOOLS_EXCLUDE_IP_RANGES|$FTP_TOOLS_EXCLUDE_IP_RANGES|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_TOOLS_USERNAME|$FTP_TOOLS_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_TOOLS_PASSWORD|$FTP_TOOLS_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_STUDY_USERNAME|$FTP_STUDY_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|FTP_STUDY_PASSWORD|$FTP_STUDY_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_HOST|$H3C_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_PORT|$H3C_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_USERNAME|$H3C_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_PASSWORD|$H3C_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_PROJECT|$H3C_PROJECT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_GLANCE_HOST|$H3C_GLANCE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_NETWORK_TYPE|$H3C_NETWORK_TYPE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_VLAN_VXLAN_URL|$H3C_VLAN_VXLAN_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MINIO_ENDPOINT|$MINIO_ENDPOINT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MINIO_ACCESS|$MINIO_ACCESS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MINIO_SECRET|$MINIO_SECRET|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MINIO_BUCKET|$MINIO_BUCKET|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MINIO_DOWNLOADPATH|$MINIO_DOWNLOADPATH|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|PUSHER_NGINX_RTMP_IP|$PUSHER_NGINX_RTMP_IP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|PUSHER_NGINX_RTMP_PORT|$PUSHER_NGINX_RTMP_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NGINX_IP|$NGINX_IP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NSREP_GATEWAY_IP|$NSREP_GATEWAY_IP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DEPENDENCY_TRACK_API_KEY|$DEPENDENCY_TRACK_API_KEY|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DEPENDENCY_TRACK_API_URL|$DEPENDENCY_TRACK_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAN_URL|$CAN_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAN_USERNAME|$CAN_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAN_PASSWORD|$CAN_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DATA_CDH_ENABLED|$DATA_CDH_ENABLED|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DATA_CDH_LEAF_ENABLED|$DATA_CDH_LEAF_ENABLED|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_AM_API_URL|$TRIAL_AM_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_HK_API_URL|$TRIAL_HK_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_A_HOST|$TRIAL_A_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_A_PORT|$TRIAL_A_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_B_HOST|$TRIAL_B_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_B_PORT|$TRIAL_B_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_REDIS_IP|$TRIAL_REDIS_IP|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TRIAL_REDIS_PASSWORD|$TRIAL_REDIS_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|MBWL_API_URL|$MBWL_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TSPG_API_URL|$TSPG_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|WRJ_API_URL|$WRJ_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|BDZ_API_URL|$BDZ_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|QCYC_API_URL|$QCYC_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DSJ_API_URL|$DSJ_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ZXCP_API_URL|$ZXCP_API_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|WLXWFZ_API_URL|$WLXWFZ_API_URL|" $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TGT_NET_TOPO_DESC_URL|$TGT_NET_TOPO_DESC_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_PORT|$CAS_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_USERNAME|$CAS_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_PASSWORD|$CAS_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_OVS_SOURCE|$CAS_OVS_SOURCE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_OVS_DEST|$CAS_OVS_DEST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_HOST|$SDN_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_PORT|$SDN_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_USERNAME|$SDN_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_PASSWORD|$SDN_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CAS_OVS_DRAIN|$CAS_OVS_DRAIN|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_VLAN_VXLAN_DOMAIN_ID|$H3C_VLAN_VXLAN_DOMAIN_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_VLAN_VXLAN_DOMAIN_NAME|$H3C_VLAN_VXLAN_DOMAIN_NAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_DRAIN_DOMAIN_ID|$SDN_DRAIN_DOMAIN_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_REMOTE_CONN_DOMAIN_ID|$SDN_REMOTE_CONN_DOMAIN_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SDN_TRANSPARENT_DOMAIN_ID|$SDN_TRANSPARENT_DOMAIN_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_BRIDGE|$VXLAN_LOCAL_BRIDGE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_HOST|$VXLAN_LOCAL_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_PASSWORD|$VXLAN_LOCAL_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_PORT|$VXLAN_LOCAL_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_USERNAME|$VXLAN_LOCAL_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_LOCAL_VX_PORTS|$VXLAN_LOCAL_VX_PORTS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_BRIDGE|$VXLAN_REMOTE_BRIDGE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_HOST|$VXLAN_REMOTE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_PASSWORD|$VXLAN_REMOTE_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_PORT|$VXLAN_REMOTE_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_USERNAME|$VXLAN_REMOTE_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|VXLAN_REMOTE_VX_PORTS|$VXLAN_REMOTE_VX_PORTS|" $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RABBITMQ_HOST|$RABBITMQ_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RABBITMQ_PORT|$RABBITMQ_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RABBITMQ_USERNAME|$RABBITMQ_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RABBITMQ_PASSWORD|$RABBITMQ_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|STORAGE_PREFIX|$STORAGE_PREFIX|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|CLEAR_PROJECT_ENABLE|$CLEAR_PROJECT_ENABLE|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NOVA_COMPUTE_USERNAME|$NOVA_COMPUTE_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|NOVA_COMPUTE_PASSWORD|$NOVA_COMPUTE_PASSWORD|" $i ; done

for i in `find . -maxdepth 2 -name bootstrap.yml` ; do sed -i "s|NACOS_CONFIG_SERVER|$NACOS_CONFIG_SERVER|" $i ; done
for i in `find . -maxdepth 2 -name bootstrap.yml` ; do sed -i "s|NACOS_DISCOVERY_SERVER|$NACOS_DISCOVERY_SERVER|" $i ; done
for i in `find . -maxdepth 2 -name bootstrap.yml` ; do sed -i "s|PREFERRED_NETWORKS|$PREFERRED_NETWORKS|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RANGE_ID|$RANGE_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RANGE_USER_ID|$RANGE_USER_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|OPEN_FLAG|$OPEN_FLAG|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TORRENT_FLAG|$TORRENT_FLAG|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TORRENT_PORT|$TORRENT_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RANGE_NAME|$RANGE_NAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|RANGE_HOST|$RANGE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_SERVICE_HOST|$H3C_SERVICE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_LEFT_ID|$H3C_LEFT_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_LEFT_HOSTNAME|$H3C_LEFT_HOSTNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_LEFT_PASSWORD|$H3C_LEFT_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_RIGHT_ID|$H3C_RIGHT_ID|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_RIGHT_HOSTNAME|$H3C_RIGHT_HOSTNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|H3C_RIGHT_PASSWORD|$H3C_RIGHT_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TASK_A_SYSTEM_HOST|$TASK_A_SYSTEM_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TASK_A_SYSTEM_PORT|$TASK_A_SYSTEM_PORT|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SPRING_BOOT_ADMIN_USER|$SPRING_BOOT_ADMIN_USER|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|SPRING_BOOT_ADMIN_PASSWORD|$SPRING_BOOT_ADMIN_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GITLAB_URL|$GITLAB_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GITLAB_USER|$GITLAB_USER|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|GITLAB_PASSWORD|$GITLAB_PASSWORD|" $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i  "s|10.254.254|10.254.254|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i  "s|TOOLS_http://minio.rscommon.svc.rs.local|http://172.26.240.211|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i  "s|TOOLS_minioAdmin|minioAdmin|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i  "s|TOOLS_mySECURITY_PASS119|mySECURITY_PASS119|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i  "s|TOOLS_minioAdmin|minioAdmin|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|TOOLS_MAGAZINE_URL|$TOOLS_MAGAZINE_URL|" $i ; done

for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_NOVA_PASSWORD|$DB_NOVA_PASSWORD|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_NOVA_URL|$DB_NOVA_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|DB_NOVA_USERNAME|$DB_NOVA_USERNAME|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|POC_URL|$POC_URL|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ONLYOFFICE_SECRET|$ONLYOFFICE_SECRET|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ONLYOFFICE_HOST|$ONLYOFFICE_HOST|" $i ; done
for i in `find . -maxdepth 2 -name application-openrs2.yml` ; do sed -i "s|ONLYOFFICE_DOWNLOAD_HOST|$ONLYOFFICE_DOWNLOAD_HOST|" $i ; done
